package haw.pr2.A3.implementations;

import haw.pr2.A3.interfaces.*;
import static haw.pr2.A3.implementations.UtilityclassValues.*;

/**
 *
 * @author Fabian Heidorn, Alexander Kaack
 */
class NonPallet extends AbstractPallet{

    private static NonPallet singleton = new NonPallet();
    
    private NonPallet() {
    mass = ZERO_MASS;
    bBox = UtilityclassValues.boundingBox(PAL_LENGTH, PAL_WIDTH, PAL_HEIGTH);
    
    }
    
    public static Pallet singleton() {
        return singleton;
    }
    
    @Override
    public boolean isFree() {
        return false;
    }

    @Override
    public boolean isBlocked() {
        return true;
    }

    @Override
    public boolean isOccupied() {
        return false;
    }


}
